package com.smartlink.dao;

import java.util.List;

public interface Dao<K,V> {
	boolean insert(V v);
	boolean delete(V v);
	boolean deleteById(K k);
	boolean update(V v);
	V findById(K k);
	List<V> getAll();
	List<V> getAll(Integer currentIndex,Integer pageSize);
	
}
